#include "GInputDevice.h"
#include "GError.h"

namespace GEngine
{

	GInputDevice::GInputDevice(GModule* Owner, void* Handle) 
		: GDevice(Owner, Handle)
	{
	}

	GInputDevice::~GInputDevice()
	{
	}
	
	bool GInputDevice::CheckInput(const GInput* Input) const
	{
		GUtil::GError::DebugCheck(Input->GetDevice() != this, "Wrong device.");
		return true;
	}

}